import 'package:flutter/material.dart';

class DetailBuyer extends StatelessWidget {
  const DetailBuyer({Key key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(
      child: Column(
        children: <Widget>[
                   Container(
                  child: Container(
                    padding: EdgeInsets.symmetric(horizontal: 10),
                    margin: EdgeInsets.only(top: 5),
                    height: 50,
                    color: Colors.white,
                    child: Row(
                      mainAxisAlignment: MainAxisAlignment.spaceBetween,
                      children: <Widget>[
                        Text("最近购买(123)",
                            style: TextStyle(
                                color: Colors.grey[600], fontSize: 12)),
                        Row(
                          children: <Widget>[
                            Text("全部",
                                style: TextStyle(
                                    color: Colors.grey[600], fontSize: 12)),
                            Icon(
                              Icons.arrow_forward_ios,
                              color: Colors.grey[200],
                              size: 10,
                            ),
                          ],
                        ),
                      ],
                    ),
                  ),
                ),
                Container(
                    color: Colors.white,
                    padding: EdgeInsets.symmetric(horizontal: 10, vertical: 10),
                    child: Row(
                      mainAxisAlignment: MainAxisAlignment.spaceBetween,
                      children: <Widget>[
                        Row(
                          children: <Widget>[
                            Container(
                                margin: EdgeInsets.symmetric(horizontal: 5),
                                width: 30,
                                height: 30,
                                child: CircleAvatar(
                                  backgroundImage: NetworkImage(
                                      "https://s2.ax1x.com/2020/01/11/lIkasx.jpg"),
                                )),
                            Text("黄*煌"),
                          ],
                        ),
                        Text("40码"),
                        Text("￥945"),
                        Text("2小时前"),
                      ],
                    )),
        ],
      ),
    );
  }
}